package com.todod.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.todod.entity.QueryProjectInfo;
import com.todod.model.DataDictoryFile;

/**
 * @author dyl
 * @date 2022-10-05
 */
public interface DataDictoryFileMapper extends BaseMapper<DataDictoryFile> {

	IPage<DataDictoryFile> getListPage(Page<DataDictoryFile> page, @Param("userId") Long userId,
			@Param("queryProjectInfo") QueryProjectInfo queryProjectInfo);

	List<DataDictoryFile> getListByCode(@Param("code") String code);

	List<DataDictoryFile> getInfo(@Param("code") String code, @Param("isNew") String isNew);

	List<DataDictoryFile> getFileList(@Param("userId") Long userId, @Param("companyId") Long companyId);

	List<DataDictoryFile> getListByXmId(@Param(value = "xmId") String xmId);

}
